package fr.umlv.m2.uwp2011.service.sujet;

import java.io.Serializable;

import fr.umlv.m2.uwp2011.persistence.sujet.Link;
import fr.umlv.m2.uwp2011.persistence.sujet.Sujet;

public class DisplayLink implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4122908634871341438L;
	
	private Link link; 
	
	public DisplayLink(Link link) {
		this.link = link;
	}
	
	public long getId() {
		return link.getId();
	}
	
	public Sujet getSujet() {
		return link.getSujet();
	}
	
	public void setSujet(Sujet sujet) {
		link.setSujet(sujet);
	}
	
	public String getUrl() {
		return link.getUrl();
	}
	
	public void setUrl(String url) {
		link.setUrl(url);
	}
	
	public String getLibelle() {
		return link.getLibelle();
	}
	
	public void setLibelle(String libelle) {
		link.setLibelle(libelle);
	}

}
